/*
 * settings.h
 *
 * Created: 27.03.2013 01:53:22
 *  Author: Timmo
 */ 


#ifndef SETTINGS_H_
#define SETTINGS_H_

#include <avr/pgmspace.h>


typedef struct  {
    PGM_P firmware_version;
    PGM_P fimrware_date;
    PGM_P firmware_time;
}firmware_information_t;
   

    
typedef struct {
	uint8_t mirror_lockup;
	uint8_t darkframe;
	uint8_t focus_shutter;
	uint16_t display_stdby;
	uint16_t prefocus_time;
	uint8_t beep_enable;
	uint8_t camera_type;
	uint8_t use_ir;
	uint16_t wakeup;
	uint8_t charge_current;
	uint8_t clock;
	uint8_t PCB_Revision;
}settings_t;

extern settings_t mt_settings;

uint8_t	load_settings(settings_t *settings_struct);
uint8_t	save_settings(settings_t *settings_struct);

#endif /* SETTINGS_H_ */